package com.ruoyi.system.mapper;

import com.ruoyi.system.domain.Client;

import java.util.List;

/**
 * clientMapper接口
 *
 * @author van
 * @date 2022-04-25
 */
public interface ClientMapper
{
    /**
     * 查询client
     *
     * @param id client主键
     * @return client
     */
    public Client selectClientById(Long id);

    /**
     * 查询client列表
     *
     * @param client client
     * @return client集合
     */
    public List<Client> selectClientList(Client client);

    /**
     * 新增client
     *
     * @param client client
     * @return 结果
     */
    public int insertClient(Client client);

    /**
     * 修改client
     *
     * @param client client
     * @return 结果
     */
    public int updateClient(Client client);

    /**
     * 删除client
     *
     * @param id client主键
     * @return 结果
     */
    public int deleteClientById(Long id);

    /**
     * 批量删除client
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteClientByIds(Long[] ids);
}
